import { PermAction, PermActionSchema } from '@ai/entity';
import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { PermActionController } from './perm-action.controller';
import { PermActionService } from './perm-action.service';

@Module({
    imports: [MongooseModule.forFeature([{ name: PermAction.name, schema: PermActionSchema }])],
    controllers: [PermActionController],
    providers: [PermActionService],
})
export class PermActionModule {}
